Typo in lighter-status function
authorjustbur <justin@burkett.cc>
Mon, 20 Jul 2015 14:48:08 +0000 (10:48 -0400)
committerjustbur <justin@burkett.cc>
Mon, 20 Jul 2015 14:48:08 +0000 (10:48 -0400)
which-key.el

index 75ef0e482303e55f99692109ce2cc5da0e3401bc..7fc1ee936398aa1b079e78d3c75e0099ee0104e3 100644 (file)
@@ -875,7 +875,7 @@ element in each list element of KEYS."
 
 (defun which-key--lighter-status (n-shown n-tot)
   (when which-key-show-remaining-keys
-    (setq which-key--lighter-backup (cdr (assq 'which-key-mode minor-mode-alist)))
+    (setq which-key--lighter-backup (cadr (assq 'which-key-mode minor-mode-alist)))
     (setcar (cdr (assq 'which-key-mode minor-mode-alist))
             (format " WK: %s/%s keys" n-shown n-tot))))
 (defun which-key--lighter-restore ()